﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ctrCreateUser.ascx.cs" Inherits="User_ctrCreateUser" %>

<%@ Register assembly="CKEditor.NET" namespace="CKEditor.NET" tagprefix="CKEditor" %>
<link href="/Styles/jqueryui10/themes/smoothness/jquery.ui.datepicker.css" rel="stylesheet"
    type="text/css" />
<script src="/Scripts/jquery-ui-1.10.1.custom.js" type="text/javascript"></script>
<script src="/Scripts/jquery-ui-1.10.1.custom.min.js" type="text/javascript"></script>
<script src="/Scripts/jquery-1.9.1.js" type="text/javascript"></script>
<script src="/Scripts/jquery.ui.datepicker.js" type="text/javascript"></script>

<script type="text/javascript">
    $(function () {
        $("#txtBirthday").datepicker();
    });
        
</script>
<asp:Literal ID="ltrMessage" runat="server"></asp:Literal>

<table style="width:100%;">
   
    <tr>
        <td width="120px">
            <asp:Label ID="Label1" runat="server" Text="Username"></asp:Label>
            <br />
        </td>
        <td>
            <asp:TextBox ID="txtUsername" runat="server"></asp:TextBox>
        </td>       
    </tr>
    <tr>
        <td>
            <asp:Label ID="Label2" runat="server" Text="Password"></asp:Label>
            <br />
        </td>
        <td>
            <asp:TextBox ID="txtPassword" runat="server"></asp:TextBox>
        </td>        
    </tr>
    <tr>
        <td>
            <asp:Label ID="Label3" runat="server" Text="Retype password"></asp:Label>
            <br />
        </td>
        <td>
            <asp:TextBox ID="txtRetypePassword" runat="server"></asp:TextBox>
        </td>        
    </tr>
    <tr>
        <td>
            <asp:Label ID="Label4" runat="server" Text="Image File"></asp:Label>
            <br />
        </td>
        <td>
            <asp:FileUpload ID="fuUser" runat="server" />
        </td>        
    </tr>
    <tr>
        <td>
            <asp:Label ID="Label5" runat="server" Text="Birthday"></asp:Label>
            <br />
        </td>
        <td>
            <asp:TextBox ID="txtBirthday" ClientIDMode="Static" runat="server"></asp:TextBox>
        </td>        
    </tr>
    <tr>
        <td>
            <asp:Label ID="Label6" runat="server" Text="About"></asp:Label>
            <br />
        </td>
        <td>
            
            <CKEditor:CKEditorControl ID="editor" runat="server" 
                BasePath="~/AddOn/ckeditor" 
                ContentsCss="~/AddOn/ckeditor/contents.css"                 
                FilebrowserBrowseUrl="/AddOn/ckfinder/ckfinder.html&rootfolderid=26"
                FilebrowserImageBrowseUrl="/AddOn/ckfinder/ckfinder.html?type=Images&rootfolderid=26"
                FilebrowserUploadUrl="/AddOn/ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Files&rootfolderid=26"  
                FilebrowserImageUploadUrl="/AddOn/ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Images&rootfolderid=26"                
                >
                </CKEditor:CKEditorControl>
        </td>        
    </tr>
    <tr>
        <td>
            &nbsp;</td>
        <td>
            <asp:Button ID="btnSave" runat="server" onclick="btnSave_Click" Text="Save" />
        </td>        
    </tr>
</table>

